/*
 * Su-yun Information Technology, Co.,Ltd CONFIDENTIAL
 *
 * (C) Copyright Su-yun Information Technology, Co.,Ltd. 2021 All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains the property of
 * Su-yun Information Technology, Co.,Ltd. The intellectual property herein
 * are protected by trade secret, patent law or copyright law. Dissemination
 * of this information or reproduction of this material is strictly forbidden
 * unless prior written permission is obtained from Su-yun Information Technology.
 *
 * https://suyunplat.com/
 *
 */
package com.xtiim.battery.discharge.persistence;

import java.util.List;

/**
 * Page interface similar with Mybatis-Plus IPage interface.
 *
 * @param <T>
 */
public interface IPage<T> {

    List<T> getRecords();

    void setRecords(List<T> records);

    long getTotal();

    void setTotal(long total);

    long getPages();

    void setPages(long pages);

    long getSize();

    void setSize(long size);

    long getCurrent();

    void setCurrent(long current);
}
